package com.by.server;

import com.by.common.bean.PageBean;
import com.by.pojo.PurApplication;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>Project: erp-cloud-api - PurApplicationServer</p>
 * <p>Powered by yzc On 2024-01-09 11:41:07</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
public interface PurApplicationServer {

    /**
     * 保存采购申请
     */
    int insert(PurApplication purApplication);

    /**
     * 采购申请列表
     */
    PageBean queryPageList(int page, int pageSize, String subject,
                           String code,
                           String begin, String end,
                           Integer purchaseType,
                           Double totalAmount,
                           Integer inquireStatus, String pojoCode);

    /**
     * 采购申请明细表
     */
    PageBean queryList(int page,
                       int pageSize,
                       String pojoCode, String proName, String proCode,
                       String supCode, Double totalAmount,
                       Integer inquireStatus, Integer applicationStatus, String subject, String begin, String end, Integer purchaseType);
}
